package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;
import org.jsola.core.query.BaseQuery;

import javax.validation.constraints.NotNull;

/**
 * @author zhr
 */
@ApiModel(description = "【员工信息筛选】的参数")
@EqualsAndHashCode(callSuper = true)
@Data
public class EmpInfoScreenDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;


    @ApiParam(value = "公司id", required = true)
    @NotNull(message = "请填写公司id")
    private String companyId;

    @ApiParam(value = "是否是全公司员工")
    private Boolean isAllEmp;

    @ApiParam(value = "选择的员工,非全公司员工时使用")
    private String[] empIds;

    @ApiParam(value = "是否是全部岗位类型")
    private Boolean allPostType;

    @ApiParam(value = "选择的岗位类型,非全部岗位类型时使用")
    private Integer[] postTypes;

}

